﻿@model _1._7._2015_EF_Movies.Models.MovieViewModel
@{
    ViewBag.Title = "Update";
}

<h2>Update Movie Info</h2>

@using (Html.BeginForm())
{
    @Html.LabelFor(m => m.PosterUrl)<br/>
    @Html.TextBoxFor(m => m.PosterUrl)<br/>
    @Html.LabelFor(m => m.Title)<br/>
    @Html.TextBoxFor(m => m.Title)<br/>
    @Html.LabelFor(m => m.Rating)<br/>
    @Html.TextBoxFor(m => m.Rating)<br/>
    @Html.LabelFor(m  => m.Description)<br/>
    @Html.TextAreaFor(m => m.Description)<br/>

    <input type="hidden" value=@Model.MovieId name="Id" />
    <input type="submit" value="Update Movie" />

}